<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>03-relative</title>
    <style>
         .box3,
         .box1{
             width: 100px;
             height: 100px;
             background-color: pink;
         }
         .box2{
             width: 100px;
             height: 100px;
             background-color: blueviolet;
             position: relative;
             /* position: absolute; */
             left: 100px;
             top: 100px;
         }
    </style>
</head>
<body>
    <div class="box1"></div>
    <div class="box2"></div>
    <div class="box3"></div>
</body>
</html>